<#import "/layout.html" as c>
<#import "/list_layout.html" as list>
<#assign alertList = []/>
<@c.html title="Index">
<!-- ================== 开始页面级CSS调用 ================== -->
<link href="${pluginsRoot}bootstrap-wizard/css/bwizard.min.css" rel="stylesheet"/>
<!-- 日历控件 -->
<link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/WdatePicker.css" rel="stylesheet"/>
<link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/default/datepicker.css" rel="stylesheet"/>
<!-- ================== 结束页面级CSS调用 ================== -->
<@list.html title="风控管理" subTitle="风控管理" alertList=alertList permi="sys:risk:xxx" addBtn=false searchHint="">
</@list.html>
    <!-- 开始用户权限参数 -->
    <@shiro.hasPermission name="sys:risk:commo:edit">
    <input type="hidden" id="commoRiskEdit" value="1"/>
    </@shiro.hasPermission>
    <!-- 结束用户权限参数 -->

<!-- 开始编辑公告模态窗口 -->
<div class="modal fade" id="editModal" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title"> 编辑系统风控参数 <a class="btn btn-info btn-xs m-l-5" role="button" data-toggle="collapse" href="#OperationTipsEdit" aria-expanded="true" title="操作提示"><i class="fa fa-exclamation"></i> 提示 </a> </h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-bordered p-0" action="${adminRoot}risk/edit" id="editForm" method="post" autocomplete="off" data-parsley-validate="true">
                    <input type="hidden" name="id" value="">
                    <input type="hidden" name="commoId" value="">
                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">主力合约<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="contract" class="form-control" placeholder="请输入主力合约" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">下期主力合约<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="nextContract" class="form-control" placeholder="请输入下期主力合约" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">下期主力合约生效时间<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="nextContractTime" class="form-control" placeholder="请输入下期主力合约" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">每点合约价值<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="pointValue" class="form-control" placeholder="请输入每点合约价值" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">最小波动点<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="wavePointMin" class="form-control" placeholder="请输入最小波动点" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">交易数量<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="tradeNumber" class="form-control" placeholder="请输入交易数量" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">交易时间<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="tradeTime" class="form-control" placeholder="请输入交易时间" maxlength="50" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-50个字符。"  data-parsley-required="true" data-parsley-length="[1, 50]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">行情时间<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="quoteTime" class="form-control" placeholder="请输入行情时间" maxlength="50" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-50个字符。"  data-parsley-required="true" data-parsley-length="[1, 50]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">手续费<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="fee" class="form-control" placeholder="请输入手续费" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">是否正常交易（1，正常 0，暂停）<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="open" class="form-control" placeholder="请输入" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">汇率<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="exchangeRate" class="form-control" placeholder="请输入汇率" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">节假日连接字符串<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="holiday" class="form-control" placeholder="请输入节假日连接字符串" maxlength="50" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-50个字符。"  data-parsley-required="true" data-parsley-length="[1, 50]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">过夜费<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="overnightFee" class="form-control" placeholder="请输入过夜费" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">保证金<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="deposit" class="form-control" placeholder="请输入保证金" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">市价最大下单<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="openMax" class="form-control" placeholder="请输入市价最大下单" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">市价最小下单<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="openMin" class="form-control" placeholder="请输入市价最小下单" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">限价最大下单<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="limitMax" class="form-control" placeholder="请输入限价最大下单" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">限价最小下单<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="limitMin" class="form-control" placeholder="请输入限价最小下单" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-2 col-sm-3">隔夜保证金倍数<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                        <div class="col-md-9 col-sm-8">
                            <input type="text" name="overnigntDepositTimes" class="form-control" placeholder="请输入隔夜保证金倍数" maxlength="30" autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容控制在1-30个字符。"  data-parsley-required="true" data-parsley-length="[1, 30]"/>
                        </div>
                    </div>

                </form>
                <!-- 结束设置模块-->
            </div>
            <div class="modal-footer"><a href="javascript:;" class="btn btn-white" data-dismiss="modal">放弃操作</a><a href="javascript:;" class="btn btn-success" data-loading-text="Loading..." nc-ajax-submit-target="editForm" nc-ajax-submit>确认提交</a></div>
        </div>
    </div>
</div>
<!-- 结束编辑公告模态窗口 -->
<!-- ================== 开始页面级JavaScrip调用 ================== -->
<script src="${pluginsRoot}bootstrap-wizard/js/bwizard.js"></script>
<!-- 表单checkbox项 -->
<script src="${pluginsRoot}bootstrap-switch/bootstrap-switch.min.js"></script>
<!-- 日历控件 -->
<script src="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/WdatePicker.js" defer="defer"></script>
<script src="${jsRoot}risk/commo_risk.handle.js"></script>
<!-- ================== 结束页面级JavaScrip调用 ================== -->
</@c.html>
